//
//  CWSportPolyline.m
//  大神专制黑马行
//
//  Created by chenWei on 2017/5/11.
//  Copyright © 2017年 陈伟. All rights reserved.
//

#import "CWSportPolyline.h"

@implementation CWSportPolyline

- (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count color:(UIColor *)color
{
    //实例方法内部不能调用类方法构造，我们可以创建一个变量返回
    CWSportPolyline *polyline = [CWSportPolyline polylineWithCoordinates:coords count:count];
    
    polyline->_color = color;
    
    return polyline;
}




@end
